package com.easyaccount.dao;

import com.easyaccount.model.Hotel;

import java.util.List;

public interface HotelMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Hotel record);

    int insertSelective(Hotel record);

    Hotel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Hotel record);

    int updateByPrimaryKey(Hotel record);

    int insertBatch(List<Hotel> hotels);

    List<Hotel> selectByBillId(Integer billId);
}